import request from '@/utils/request'

export function listXikangInt() {
  return request({
    url: '/config/xikangInt',
    method: 'get'
  })
}

export function updateXikangInt(data) {
  return request({
    url: '/config/xikangInt',
    method: 'post',
    data
  })
}


export function systemConfigDetail() {
  return request({
    url: '/config/systemConfigDetail',
    method: 'get'
  })
}

export function systemConfigUpdate(data) {
  return request({
    url: '/config/systemConfigUpdate',
    method: 'post',
    data
  })
}

export function listDoctorAutoSign() {
  return request({
    url: '/config/doctorAutoSign',
    method: 'get'
  })
}

export function updateDoctorAutoSign(data) {
  return request({
    url: '/config/doctorAutoSign',
    method: 'post',
    data
  })
}